//
//  AXFAddGoodsView.h
//  闪电超市
//
//  Created by 李典 on 16/11/19.
//  Copyright © 2016年 李典. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AXFDetailsModel.h"
@class AXFAddGoodsView;

@protocol AXFAddGoodsView <NSObject>
/**加号减号按钮的代理方法
 */
- (void)addGoodsViewWith:(AXFAddGoodsView *)addGoodsView buyCount:(NSInteger)shopCount;
@end

@interface AXFAddGoodsView : UIView
+ (instancetype)addGoodsView;

@property(nonatomic)BOOL isPlus;
@property (nonatomic, strong) id <AXFAddGoodsView> delegate;
@property (nonatomic, assign) NSInteger shopCount;

@property(nonatomic,strong)AXFDetailsModel *model;
@end
